import request from '@/utils/request'

// 查询停车订单申诉列表
export function listParkingOrderAppeal(query) {
  return request({
    url: '/parking/parkingOrderAppeal/list',
    method: 'get',
    params: query
  })
}

// 查询停车订单申诉详细
export function getParkingOrderAppeal(id) {
  return request({
    url: '/parking/parkingOrderAppeal/' + id,
    method: 'get'
  })
}

// 新增停车订单申诉
export function addParkingOrderAppeal(data) {
  return request({
    url: '/parking/parkingOrderAppeal',
    method: 'post',
    data: data
  })
}

// 修改停车订单申诉
export function updateParkingOrderAppeal(data) {
  return request({
    url: '/parking/parkingOrderAppeal',
    method: 'put',
    data: data
  })
}

// 删除停车订单申诉
export function delParkingOrderAppeal(id) {
  return request({
    url: '/parking/parkingOrderAppeal/' + id,
    method: 'delete'
  })
}
